
// 获取用商品
import axios from "../../utils/axios";

export function getList(query) {
    return axios({
        url: "/goldendays-order/busCommodityOrderPc/getbusCommodityOrderPcList",
        method: "get",
        params: query
    });
}

export function getAllOrderList(query) {
    return axios({
        url: "/goldendays-order/busiAllOrders/list",
        method: "get",
        params: query
    });
}

//获得vip订单的情况
export function getVipList(query) {
    return axios({
        url: "goldendays-order/vipManageOrder/queryVipOrderHDPage",
        method: "get",
        params: query
    });
}

//获得主营订单vip订单的情况
export function getVipAllOrderList(query) {
    return axios({
        url: "goldendays-order/busiAllOrders/queryMainBusVipList",
        method: "get",
        params: query
    });
}
// 导出待发货订单(商户)
export function downloadDeliver(query) {
    return axios({
        url: "/goldendays-order/busCommodityOrderPc/getOrderByStatusModel",
        method: "get",
        params: query
    });
}

// 导出运单模板(商户)
export function downloadTemplate(query) {
    return axios({
        url: "/goldendays-order/busCommodityOrderPc/getOrderByStatusModel",
        method: "get",
        params: query
    });
}
// 导出待发货订单(vip)
export function downloadDeliverVip(query) {
    return axios({
        url: "/goldendays-order/vipManageOrder/getVipOrderByStatus",
        method: "get",
        params: query
    });
}

// 导出运单模板(vip)
export function downloadTemplateVip(query) {
    return axios({
        url: "/goldendays-order/vipManageOrder/getVipOrderByModel",
        method: "get",
        params: query
    });
}

